﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000005 RID: 5
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class AAHKNOFFJOO : IMessage<AAHKNOFFJOO>, IMessage, IEquatable<AAHKNOFFJOO>, IDeepCloneable<AAHKNOFFJOO>, IBufferMessage
	{
		// Token: 0x17000006 RID: 6
		// (get) Token: 0x06000016 RID: 22 RVA: 0x00002281 File Offset: 0x00000481
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<AAHKNOFFJOO> Parser
		{
			get
			{
				return AAHKNOFFJOO._parser;
			}
		}

		// Token: 0x17000007 RID: 7
		// (get) Token: 0x06000017 RID: 23 RVA: 0x00002288 File Offset: 0x00000488
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return AAHKNOFFJOOReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000008 RID: 8
		// (get) Token: 0x06000018 RID: 24 RVA: 0x0000229A File Offset: 0x0000049A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return AAHKNOFFJOO.Descriptor;
			}
		}

		// Token: 0x06000019 RID: 25 RVA: 0x000022A1 File Offset: 0x000004A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AAHKNOFFJOO()
		{
		}

		// Token: 0x0600001A RID: 26 RVA: 0x000022B4 File Offset: 0x000004B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AAHKNOFFJOO(AAHKNOFFJOO other) : this()
		{
			this.rogueMagicUnitInfoList_ = other.rogueMagicUnitInfoList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600001B RID: 27 RVA: 0x000022DE File Offset: 0x000004DE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AAHKNOFFJOO Clone()
		{
			return new AAHKNOFFJOO(this);
		}

		// Token: 0x17000009 RID: 9
		// (get) Token: 0x0600001C RID: 28 RVA: 0x000022E6 File Offset: 0x000004E6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<FLNGGMDHDJL> RogueMagicUnitInfoList
		{
			get
			{
				return this.rogueMagicUnitInfoList_;
			}
		}

		// Token: 0x0600001D RID: 29 RVA: 0x000022EE File Offset: 0x000004EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as AAHKNOFFJOO);
		}

		// Token: 0x0600001E RID: 30 RVA: 0x000022FC File Offset: 0x000004FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(AAHKNOFFJOO other)
		{
			return other != null && (other == this || (this.rogueMagicUnitInfoList_.Equals(other.rogueMagicUnitInfoList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600001F RID: 31 RVA: 0x00002330 File Offset: 0x00000530
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.rogueMagicUnitInfoList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06000020 RID: 32 RVA: 0x00002364 File Offset: 0x00000564
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06000021 RID: 33 RVA: 0x0000236C File Offset: 0x0000056C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000022 RID: 34 RVA: 0x00002375 File Offset: 0x00000575
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.rogueMagicUnitInfoList_.WriteTo(ref output, AAHKNOFFJOO._repeated_rogueMagicUnitInfoList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06000023 RID: 35 RVA: 0x0000239C File Offset: 0x0000059C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.rogueMagicUnitInfoList_.CalculateSize(AAHKNOFFJOO._repeated_rogueMagicUnitInfoList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06000024 RID: 36 RVA: 0x000023D5 File Offset: 0x000005D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(AAHKNOFFJOO other)
		{
			if (other == null)
			{
				return;
			}
			this.rogueMagicUnitInfoList_.Add(other.rogueMagicUnitInfoList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06000025 RID: 37 RVA: 0x00002403 File Offset: 0x00000603
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06000026 RID: 38 RVA: 0x0000240C File Offset: 0x0000060C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 18U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.rogueMagicUnitInfoList_.AddEntriesFrom(ref input, AAHKNOFFJOO._repeated_rogueMagicUnitInfoList_codec);
				}
			}
		}

		// Token: 0x04000005 RID: 5
		private static readonly MessageParser<AAHKNOFFJOO> _parser = new MessageParser<AAHKNOFFJOO>(() => new AAHKNOFFJOO());

		// Token: 0x04000006 RID: 6
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000007 RID: 7
		public const int RogueMagicUnitInfoListFieldNumber = 2;

		// Token: 0x04000008 RID: 8
		private static readonly FieldCodec<FLNGGMDHDJL> _repeated_rogueMagicUnitInfoList_codec = FieldCodec.ForMessage<FLNGGMDHDJL>(18U, FLNGGMDHDJL.Parser);

		// Token: 0x04000009 RID: 9
		private readonly RepeatedField<FLNGGMDHDJL> rogueMagicUnitInfoList_ = new RepeatedField<FLNGGMDHDJL>();
	}
}
